package com.openbravo.bean;

import java.util.Date;

import cn.ekuma.data.dao.bean.I_AutoGeneratorStringKey;
import cn.ekuma.data.dao.bean.I_BaseBean;

public class ProductStockLevel implements I_BaseBean<String>,
		I_AutoGeneratorStringKey {
	/**
	 * 
	 */
	private static final long serialVersionUID = -6088131318030380391L;
	private String id;
	private String locationId;
	private Location location;
	private String productId;
	private double stockSecurity;
	private double stockMax;

	public String getLocationId() {
		return locationId;
	}

	public void setLocationId(String location) {
		this.locationId = location;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public double getStockSecurity() {
		return stockSecurity;
	}

	public void setStockSecurity(double stockSecurity) {
		this.stockSecurity = stockSecurity;
	}

	public double getStockMax() {
		return stockMax;
	}

	public void setStockMax(double stockMax) {
		this.stockMax = stockMax;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

	@Override
	public String getKey() {

		return id;
	}

	@Override
	public void setKey(String key) {
		this.id = key;

	}

	public void setLocation(Location location) {
		this.location = location;
	}

	public Location getLocation() {
		return location;
	}

}
